package com.company.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.company.project.entity.BaseEntity;


import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 
 *
 * @author wenbin
 * @email *****@mail.com
 * @date 2021-06-28 19:34:08
 */
@Data
@TableName("super_product")
public class SuperProductEntity extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(value = "id",type = IdType.AUTO)
//	@TableId("id")
	private Integer id;

	/**
	 * 
	 */
	@TableField("name")
	private String name;

	/**
	 * 
	 */
	@TableField("price")
	private Double price;

	/**
	 * 
	 */
	@TableField("image")
	private String image;

	/**
	 * 
	 */
	@TableField("detail")
	private String detail;

	/**
	 * 
	 */
	@TableField("stock")
	private Integer stock;


}
